import requests

# resp = requests.get("http://wwww.baidu.com/s?wd='武汉天气'")
resp = requests.get("http://wwww.baidu.com/s", params={'wd' :'武汉天气'})
print(resp.status_code)
resp.encoding = 'UTF-8'
print(resp.text)
